package com.jf.cloud.service.sysmanager;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Created with IntelliJ IDEA.
 * User: LangK
 * Date: 2017/10/9
 * Time: 17:27
 * Description:
 */
@SpringBootApplication
@EnableTransactionManagement
public class SysManagerApplication extends SpringBootServletInitializer {

    public static void main(String[] agrs) {
        SpringApplication.run(SysManagerApplication.class, agrs);
    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(SysManagerApplication.class);
    }
}
